﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" MasterPageFile="~/Views/Shared/page.master" %>
<asp:Content id="mainHolder" ContentPlaceHolderID="MainContent" runat="server">
<%	
	DomesticBank.Models.Account account = (DomesticBank.Models.Account)ViewData["account"];
%>	
	<h1>Cuenta <%=ViewData["name"]%> <%=account.Name%></h1>
	<table>
		<tr>
			<th>Nombre</th>
			<th>Beneficiario</th>
			<th>Ingresos</th>
			<th>Gastos</th>
			<th>Balance</th>
			<th>Descripción</th>
			<th>Forma de pago</th>
			<th>Categoria</th>
			<th>Tags</th>
			<th>Fecha</th>
			<th>Hora</th>
		</tr>
		<tr>
			<td>Nomina</td>
			<td>Juan Benavides Romero</td>
			<td>500</td>
			<td>0</td>
			<td>1500</td>
			<td>Ingreso tras tener 1000€ en la cuenta</td>
			<td>Transferencia</td>
			<td>1</td>
			<td>nomina</td>
			<td>2011-10-20</td>
			<td>23:58</td>
		</tr>
	</table>
	<p>
		<a href="/Transactions/Add/<%=account.Id%>">Nueva transacción</a>
	</p>
	<p>
		<a href="/Accounts/Delete/<%=account.Id%>">Borrar cuenta</a>
	</p>
</asp:Content>